Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,5 +15,4 @@ def random_response(user_input, history):
|
|
| 15 |
response = genai.GenerativeModel("gemini-1.5-flash").generate_content(prompt)
|
| 16 |
return response.text
|
| 17 |
|
| 18 |
-
|
| 19 |
-
demo.launch()
|
|
|
|
| 15 |
response = genai.GenerativeModel("gemini-1.5-flash").generate_content(prompt)
|
| 16 |
return response.text
|
| 17 |
|
| 18 |
+
gr.ChatInterface(random_response).launch()
|
|
|