odavis1 commited on
Commit
d0113a2
·
verified ·
1 Parent(s): a26b570

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  def reaction(text, theme):
2
  modelName= 'HuggingFaceH4/zephyr-7b-beta'
3
  thiscontent=f'Give only one {theme} response to this statement: {text}?'
 
1
+ import gradio as gr
2
+ from huggingface_hub import InferenceClient
3
+
4
  def reaction(text, theme):
5
  modelName= 'HuggingFaceH4/zephyr-7b-beta'
6
  thiscontent=f'Give only one {theme} response to this statement: {text}?'