Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -51,7 +51,7 @@ async def email_input_root(request: Request):
|
|
51 |
async def create_upload_files(request: Request , paragraphInput: str = Form(...)):
|
52 |
print("hi im in subject gen", paragraphInput )
|
53 |
result = subject_gen.subject_gen_func(paragraphInput)
|
54 |
-
|
55 |
if(len(result.split("<subject>"))>1):
|
56 |
subject = result.split("<subject>")[1].replace("<eos>","")
|
57 |
else :
|
|
|
51 |
async def create_upload_files(request: Request , paragraphInput: str = Form(...)):
|
52 |
print("hi im in subject gen", paragraphInput )
|
53 |
result = subject_gen.subject_gen_func(paragraphInput)
|
54 |
+
print(result)
|
55 |
if(len(result.split("<subject>"))>1):
|
56 |
subject = result.split("<subject>")[1].replace("<eos>","")
|
57 |
else :
|