Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def getadline(text_inp):
|
|
104 |
print(text_inp)
|
105 |
print(datetime.today().strftime("%d-%m-%Y"))
|
106 |
|
107 |
-
text =
|
108 |
resp = infer(text,seed=random.randint(0,100))
|
109 |
|
110 |
generated_text=resp[0]['generated_text']
|
|
|
104 |
print(text_inp)
|
105 |
print(datetime.today().strftime("%d-%m-%Y"))
|
106 |
|
107 |
+
text = prompt_text+"\nInput:"+text_inp + "\nOutput:"
|
108 |
resp = infer(text,seed=random.randint(0,100))
|
109 |
|
110 |
generated_text=resp[0]['generated_text']
|