Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ def websearch(prompt):
|
|
40 |
#search_query = f"{prompt} antworte kurz und knapp. antworte auf deutsch. du findest die antwort hier: {result_text}"
|
41 |
#result = predict(search_query)
|
42 |
#return result
|
43 |
-
return results[0]
|
44 |
-
|
45 |
|
46 |
def predict(prompt):
|
47 |
generation_config = {
|
|
|
40 |
#search_query = f"{prompt} antworte kurz und knapp. antworte auf deutsch. du findest die antwort hier: {result_text}"
|
41 |
#result = predict(search_query)
|
42 |
#return result
|
43 |
+
#return results[0]
|
44 |
+
return result_text
|
45 |
|
46 |
def predict(prompt):
|
47 |
generation_config = {
|