Update main.py
Browse files
main.py
CHANGED
@@ -28,8 +28,4 @@ async def summarize_file_with_gradio(file_content: str) -> Dict[str, str]:
|
|
28 |
async def summarize_text(data: Dict[str, str]):
|
29 |
file_content = data.get('file_content')
|
30 |
result = await summarize_file_with_gradio(file_content)
|
31 |
-
return result
|
32 |
-
|
33 |
-
if __name__ == '__main__':
|
34 |
-
import uvicorn
|
35 |
-
uvicorn.run(app)
|
|
|
28 |
async def summarize_text(data: Dict[str, str]):
|
29 |
file_content = data.get('file_content')
|
30 |
result = await summarize_file_with_gradio(file_content)
|
31 |
+
return result
|
|
|
|
|
|
|
|