Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
|
2 |
import os
|
3 |
from pathlib import Path
|
4 |
-
from google.colab import userdata
|
5 |
import litellm
|
6 |
from crewai import Agent, Task, Crew, Process
|
7 |
from crewai_tools import SerperDevTool
|
@@ -159,7 +158,7 @@ with gr.Blocks() as demo:
|
|
159 |
u = gr.UploadButton("Upload CV (.pdf or .docx)", file_count="single")
|
160 |
d = gr.DownloadButton("Download Portfolio", visible=False)
|
161 |
|
162 |
-
output_preview = gr.HTML(label="Webpage Preview" , value="<style>iframe { width: 100%; height: 600px; }</style><iframe srcdoc='Portfolio_generated_by_FiftyBit.html'></iframe
|
163 |
|
164 |
|
165 |
|
|
|
1 |
|
2 |
import os
|
3 |
from pathlib import Path
|
|
|
4 |
import litellm
|
5 |
from crewai import Agent, Task, Crew, Process
|
6 |
from crewai_tools import SerperDevTool
|
|
|
158 |
u = gr.UploadButton("Upload CV (.pdf or .docx)", file_count="single")
|
159 |
d = gr.DownloadButton("Download Portfolio", visible=False)
|
160 |
|
161 |
+
output_preview = gr.HTML(label="Webpage Preview" , value="<style>iframe { width: 100%; height: 600px; }</style><iframe srcdoc='Portfolio_generated_by_FiftyBit.html'></iframe>" ) # HTML output for preview
|
162 |
|
163 |
|
164 |
|