Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@
|
|
134 |
import openai
|
135 |
import streamlit as st
|
136 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
137 |
-
|
138 |
|
139 |
def generate_question(role, topic, difficulty_level):
|
140 |
prompt = f"Generate an interview question for the role of {role} on the topic of {topic} with difficulty level {difficulty_level}."
|
|
|
134 |
import openai
|
135 |
import streamlit as st
|
136 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
137 |
+
import re
|
138 |
|
139 |
def generate_question(role, topic, difficulty_level):
|
140 |
prompt = f"Generate an interview question for the role of {role} on the topic of {topic} with difficulty level {difficulty_level}."
|