Skip to content

Commit

Permalink
Update route name
Browse files Browse the repository at this point in the history
  • Loading branch information
linxiaoxin committed Sep 11, 2024
1 parent ba83971 commit 4b3722d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
_healthChecks = HealthCheckFactory()
app = FastAPI(title="Quemistry GenAI")

add_routes(app, gen_by_topic_gemini(), path="/genai-ms/geminimcqbytopic")
add_routes(app, gen_by_topic_openai(), path="/genai-ms/openaimcqbytopic")
add_routes(app, gen_by_topic_gemini(), path="/genai/geminimcqbytopic")
add_routes(app, gen_by_topic_openai(), path="/genai/openaimcqbytopic")
app.add_api_route('/genai-ms/health', healthCheckRoute(factory=_healthChecks))

if __name__ == "__main__":
Expand Down

0 comments on commit 4b3722d

Please sign in to comment.