Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -82,7 +82,7 @@ def handle_message(event):
|
|
82 |
# if not response.parts or not response.parts[0].text:
|
83 |
# out = response.parts[0].text
|
84 |
message = event.message.text
|
85 |
-
out =
|
86 |
|
87 |
except:
|
88 |
out = "Gemini error!"
|
|
|
82 |
# if not response.parts or not response.parts[0].text:
|
83 |
# out = response.parts[0].text
|
84 |
message = event.message.text
|
85 |
+
out = client.predict(message, api_name="/predict")
|
86 |
|
87 |
except:
|
88 |
out = "Gemini error!"
|