Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,8 @@ def perform_search(prompt):
|
|
53 |
|
54 |
# Formuliere die Antwort
|
55 |
search_query = f"{prompt} antworte kurz und knapp. antworte auf deutsch. du findest die antwort hier: {result_text}"
|
56 |
-
|
|
|
57 |
return search_query
|
58 |
|
59 |
except requests.exceptions.RequestException as e:
|
|
|
53 |
|
54 |
# Formuliere die Antwort
|
55 |
search_query = f"{prompt} antworte kurz und knapp. antworte auf deutsch. du findest die antwort hier: {result_text}"
|
56 |
+
result = predict(search_query)
|
57 |
+
return result
|
58 |
return search_query
|
59 |
|
60 |
except requests.exceptions.RequestException as e:
|