Spaces:
Sleeping
Sleeping
Update app.py
Browse files123456import gradio as grfrom huggingface_hub import InferenceClientdef reaction(text, theme):modelName= 'HuggingFaceH4/zephyr-7b-beta'thiscontent=f'Give only one {theme} response to this statement: {text}?'12345678import gradio as grfrom huggingface_hub import InferenceClientthemes=["Pick a Genre", "thriller", "fantasy", "romance", "sci-fi", "mystery", "fiction"]def reaction(text, theme):modelName= 'HuggingFaceH4/zephyr-7b-beta'thiscontent=f'Give only one {theme} response to this statement: {text}?'
app.py+2